import { createRouter, createWebHistory } from 'vue-router'


import Login from  "./pages/Login.vue";
import page1 from  "./pages/page1.vue";
const routes=[
    {path: "/", name:"page1", component: page1},
    {path: "/login", name:"Login", component: Login},
]


const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router;